package com.sanjiahantang.youjiaclient.module.programmeprice.holder;

import android.content.Context;
import android.view.View;
import android.widget.CheckBox;

import com.sanjiahantang.uilibrary.views.MyListView;
import com.sanjiahantang.youjiaclient.R;
import com.sanjiahantang.youjiaclient.module.common.holders.MyBaseViewHolder;


/**
 * Created by admin on 2017/8/24.
 */

public class OtherHolder extends MyBaseViewHolder {

    //三种标识
    private int type;
    public static final int TYPE_SHIGONG = 2;//施工
    public static final int TYPE_ZHUCAI = 3;
    public static final int TYPE_JIAJU = 4;
    public static final int TYPE_PEISHI = 5;

    private Context context;
    private MyListView lv_comprehen;
    private CheckBox iv_titleIcon;
    private Object data;

    private String name,enName;
    public OtherHolder(View itemView, final int type, final Context context, Object data, final String name) {
        super(itemView);
        this.context = context;
        this.data = data;
        this.name=name;
        iv_titleIcon = (CheckBox) itemView.findViewById(R.id.iv_titleIcon);//标题按钮
        lv_comprehen = (MyListView) itemView.findViewById(R.id.SG_list);
    }

    @Override
    public void bindData() {
            switch (type) {
                case TYPE_SHIGONG:
                    break;
                case TYPE_ZHUCAI:
                    break;

                case TYPE_JIAJU:
                    break;
                case TYPE_PEISHI:
                    break;
            }


        }


}
